package com.qf.shopping.vo;

import com.qf.shopping.pojo.System.Role;

public class RolelistVO {

    private  long id;
    private String name;
    private Integer counts;



    public RolelistVO(){}

    public RolelistVO(Role role){
        this.id=role.getId();
        this.name=role.getName();
        this.counts=role.getCounts();
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getCounts() {
        return counts;
    }

    public void setCounts(Integer counts) {
        this.counts = counts;
    }

    @Override
    public String toString() {
        return "RolelistVO{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", counts=" + counts +
                '}';
    }
}
